mongodump/mongorestore命令详解 |
您所在的位置:网站首页 › 13 archives › mongodump/mongorestore命令详解 |
Mongodump 命令参考文档: https://docs.mongodb.com/v4.2/reference/program/mongodump/#bin.mongodump
1、mongodump --help 详解: general options: --help 输出帮助说明 --version 输出版本号 verbosity options: -v, --verbose= 增加备份过程中日志详细程序,例如 -vvvv 打的日志最多 --quiet 备份过程中不输出日志 connection options: -h, --host= 连接地址 (setname/host1,host2 for replica sets) --port= 端口号 可以 --host hostname:port(can also use --host hostname:port) ssl options: --ssl connect to a mongod or mongos that has ssl enabled --sslCAFile= the .pem file containing the root certificate chain from the certificate authority --sslPEMKeyFile= the .pem file containing the certificate and key --sslPEMKeyPassword= the password to decrypt the sslPEMKeyFile, if necessary --sslCRLFile= the .pem file containing the certificate revocation list --sslFIPSMode use FIPS mode of the installed openssl library --tlsInsecure bypass the validation for server's certificate chain and host name authentication options: -u, --username= 用户名 -p, --password= 密码 --authenticationDatabase= 指定验证库 --authenticationMechanism= 指定验证机制 kerberos options: --gssapiServiceName= service name to use when authenticating using GSSAPI/Kerberos (default: mongodb) --gssapiHostName= hostname to use when authenticating using GSSAPI/Kerberos (default: |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |